package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.GoodsEntity;

/**
 * Created by qiuzhenhuan on 2019/10/9.
 */

public interface RedeemContract {

    interface View extends BaseView {

        void showSearchGoodsList(List<GoodsEntity> list, boolean isRefresh);

        void showRedeemGoodSuccess();

        void showSearchGoodsError(String msg);
    }

    interface Presenter extends BasePresenter<View> {

        void loadGoodsList(String keyword, boolean isRefresh);

        void doRedeemGoods(String memberCompanyId, String phone, String integralGoods, List<GoodsEntity> integralList);
    }
}
